package cn.edu.nuc.film.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 影片表
 * @author win7
 *
 */
public class Film {
	/**
	 * 影片id
	 */
    private Integer filmId;
    /**
     * 影片类型id
     */
    private Integer ftId;
    /**
     * 影片类型名
     */
    private String ftName;
    
    /**
     * 影城id
     *//*
    private Integer fcId;*/
    /**
     * 影片名
     */
    private String filmName;
    /**
     * 影片上映时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date filmShowdate;
    /**
     * 影片放映时间（开始时间）
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date filmStartdate;
    /**
     * 影片小图片
     */
    private String filmPicture;
    /**
     * 影片封面（海报或大图片）
     */
    private String filmCover;
    /**
     * 影片所属语言
     */
    private String filmLanguage;
    /**
     * 影片出售价格
     */
    private Integer filmPrice;
    /**
     * 影片打几折
     */
    private Float filmDiscount;
    /**
     * 影片的导演
     */
    private String filmDirector;
    
    /**
     * 票数
     */
    private Integer filmVotes;
    
    /**
     * 余票
     */
    private Integer filmRemain;
    
    /**
     * 影片参演演员
     */
    private String filmAcotr;
    /**
     * 影片的编剧
     */
    private String filmWriter;
    /**
     * 影片简介
     */
    private String filmIntroduction;
    /**
     * 影片状态（是否可播出）
     */
    private Integer filmState;
    
    
	public Integer getFilmVotes() {
		return filmVotes;
	}

	public void setFilmVotes(Integer filmVotes) {
		this.filmVotes = filmVotes;
	}

	public Integer getFilmRemain() {
		return filmRemain;
	}

	public void setFilmRemain(Integer filmRemain) {
		this.filmRemain = filmRemain;
	}

	public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public Integer getFtId() {
        return ftId;
    }

    public void setFtId(Integer ftId) {
        this.ftId = ftId;
    }
    
    
    
    public String getFtName() {
		return ftName;
	}

	public void setFtName(String ftName) {
		this.ftName = ftName;
	}

	public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName == null ? null : filmName.trim();
    }

    public Date getFilmShowdate() {
        return filmShowdate;
    }

    public void setFilmShowdate(Date filmShowdate) {
        this.filmShowdate = filmShowdate;
    }

    public Date getFilmStartdate() {
        return filmStartdate;
    }

    public void setFilmStartdate(Date filmStartdate) {
        this.filmStartdate = filmStartdate;
    }

    public String getFilmPicture() {
        return filmPicture;
    }

    public void setFilmPicture(String filmPicture) {
        this.filmPicture = filmPicture == null ? null : filmPicture.trim();
    }

    public String getFilmCover() {
        return filmCover;
    }

    public void setFilmCover(String filmCover) {
        this.filmCover = filmCover == null ? null : filmCover.trim();
    }

    public String getFilmLanguage() {
        return filmLanguage;
    }

    public void setFilmLanguage(String filmLanguage) {
        this.filmLanguage = filmLanguage == null ? null : filmLanguage.trim();
    }

    public Integer getFilmPrice() {
        return filmPrice;
    }

    public void setFilmPrice(Integer filmPrice) {
        this.filmPrice = filmPrice;
    }
    
    
    
    public Float getFilmDiscount() {
        return filmDiscount;
    }

    public void setFilmDiscount(Float filmDiscount) {
        this.filmDiscount = filmDiscount;
    }

    public String getFilmDirector() {
        return filmDirector;
    }

    public void setFilmDirector(String filmDirector) {
        this.filmDirector = filmDirector == null ? null : filmDirector.trim();
    }

    public String getFilmAcotr() {
        return filmAcotr;
    }

    public void setFilmAcotr(String filmAcotr) {
        this.filmAcotr = filmAcotr == null ? null : filmAcotr.trim();
    }

    public String getFilmWriter() {
        return filmWriter;
    }

    public void setFilmWriter(String filmWriter) {
        this.filmWriter = filmWriter == null ? null : filmWriter.trim();
    }

    public String getFilmIntroduction() {
        return filmIntroduction;
    }

    public void setFilmIntroduction(String filmIntroduction) {
        this.filmIntroduction = filmIntroduction == null ? null : filmIntroduction.trim();
    }

    public Integer getFilmState() {
        return filmState;
    }

    public void setFilmState(Integer filmState) {
        this.filmState = filmState;
    }

	@Override
	public String toString() {
		return "Film [filmId=" + filmId + ", ftId=" + ftId + ", filmName=" + filmName + ", filmStartdate="
				+ filmStartdate + ", filmPicture=" + filmPicture + ", filmPrice=" + filmPrice + ", filmDiscount="
				+ filmDiscount + ", filmDirector=" + filmDirector + ", filmAcotr=" + filmAcotr + ", filmState="
				+ filmState + "]";
	}
    
    
    
}